package com.woniuxy.woniuticket.movieinfomodule.service.impl;


import com.woniuxy.woniuticket.ordermodule.dao.CinemaOderDAO;
import com.woniuxy.woniuticket.movieinfomodule.service.OderService;
import com.woniuxy.woniuticket.movieinfomodule.vo.OderVO;
import com.woniuxy.woniuticket.pojo.CinemaOder;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OderServiceImpl implements OderService {
    @Resource
    private CinemaOderDAO cinemaOderDAO;
    @Override
    public List<CinemaOder> queryAllOder(Integer currentpage, Integer pagesize, OderVO vo) {
        return cinemaOderDAO.queryAllOder(currentpage,pagesize,vo);
    }
}
